package com.tarena.lbs.user.pojo.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tarena.lbs.base.protocol.pager.BasePageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户组查询类
 */
@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class UserGroupQuery extends BasePageQuery implements Serializable {
    @Schema(description = "用户群名")
    String groupName;

    @Schema(description = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date startTime;

    @Schema(description = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date endTime;

}
